home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 June / ccd0605.iso / Software / Freeware / Programare / highlight / highlight-W32GUI-2.2-10b-Setup.exe / {app} / src / datadir.cpp < prev    next >
C/C++ Source or Header  |  2004-06-30  |  2KB  |  45 lines

  1. /***************************************************************************
  2.                           datadir.cpp  -  description
  3.                              -------------------
  4.     begin                : Sam MΣr 1 2003
  5.     copyright            : (C) 2003 by AndrΘ Simon
  6.     email                : saalen@gmx.de
  7.  ***************************************************************************/
  8.  
  9. /***************************************************************************
  10.  *                                                                         *
  11.  *   This program is free software; you can redistribute it and/or modify  *
  12.  *   it under the terms of the GNU General Public License as published by  *
  13.  *   the Free Software Foundation; either version 2 of the License, or     *
  14.  *   (at your option) any later version.                                   *
  15.  *                                                                         *
  16.  ***************************************************************************/
  17.  
  18. #include "datadir.h"
  19.  
  20. using namespace std;
  21.  
  22. DataDir::DataDir():
  23.  datadir(wxGetCwd().c_str())
  24. {
  25. }
  26. const string &DataDir::getDir() {
  27.   return datadir;
  28. }
  29. const string DataDir::getThemeDir(){
  30.   return datadir+"\\themes\\";
  31. }
  32. const string  DataDir::getLangDefDir(){
  33.   return datadir+"\\langDefs\\";
  34. }
  35. const string  DataDir::getI18nDir(){
  36.   return datadir+"\\i18n\\";
  37. }
  38. const string  DataDir::getExtDir(){
  39.   return datadir+"\\ext\\";
  40. }
  41. const string  DataDir::getIndentSchemesDir(){
  42.   return datadir+"\\indentSchemes\\";
  43. }
  44.  
  45.